package org.example.mapper;
import org.example.model.TUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface TUserMapper extends UserDetailsService {
    int deleteByPrimaryKey(Integer id);

    int insert(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);

    TUser selectByLoginAct(String username);

    List<TUser> selectUserByPage();

    TUser selectDetailById(Integer id);

    int deleteByIds(List<Integer> idList);
}